package casa.depesos.app.com.http.req;


import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.LevelBean;
import casa.depesos.app.com.http.parser.LevelParser;
import okhttp3.FormBody;

public class LevelReq implements HttpReq<LevelBean> {
    @Override
    public void req(ReqCallback<LevelBean> callback) {//    /app/queryFirst/queryLevelAmtConfig
        FormBody.Builder builder = new FormBody.Builder();
        Req.post("/app/primaryQuery/retrieveLevelAmountConfiguration", getParam(), getHeader(), builder.build(), new LevelParser(), callback, this);
    }
}
